# @Time    : 2018/5/30 17:24
# @Author  : Jame
from conf import setting
from core import src
import sys
sys.path.append(setting.BASE_DIR)

#1.打印文件目录结构树

# import os
# def travelTree(currentPath, count):
#     if not os.path.exists(currentPath):
#         return
#     if os.path.isfile(currentPath):
#         fileName = os.path.basename(currentPath)
#         print('\t' * count + '├── ' + fileName)
#     elif os.path.isdir(currentPath):
#         print('\t' * count + '├── ' + currentPath)
#         pathList = os.listdir(currentPath)
#         for eachPath in pathList:
#             travelTree(currentPath + '/' + eachPath, count + 1)
#
# travelTree('E:\choose_course_system', 2)




#2.启动运行
if __name__ == '__main__':
  src.run()
